<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>

	<div th:if="${msg!=null}">用户名或密码错误，请重新登录！</div>
	<form th:action="@{/login}" method="post">
		<div>
			<label> User Name: <input type="text" name="username"></label>
		</div>
		<div>
			<label> Password: <input type="password"
				name="password"></label>
		</div>
		<div>
			<input type="submit" value="Sign in">
		</div>
	</form>

</body>
</html>